export const shopcar = {
    namespaced:true,
    state:{
        shopCarListNum:localStorage.getItem("shopCarList") ? (JSON.parse(localStorage.getItem("shopCarList"))).length : 0
    },
    mutations:{
        ["ADD_SHOP_CAR_LIST_NUM"](state,payload){
            state.shopCarListNum = payload
            console.log(state.shopCarListNum)
        }
    }
}